package com.lyons.generate.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

@SuppressWarnings("serial")
@Getter
@Setter
@ToString
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "sys_code_generate")
public class CodeGenerate extends Model<CodeGenerate> {

	@TableId(value = "id", type = IdType.ASSIGN_ID)
	private String id;

	/**
	 * 作者姓名
	 */
	@TableField(value = "author_name")
	private String authorName;

	/**
	 * 类名
	 */
	@TableField(value = "class_name")
	private String className;

	/**
	 * 是否移除表前缀,1-移除;0-不移除
	 */
	@TableField(value = "table_prefix")
	private Integer tablePrefix;

	/**
	 * 生成位置类型;1-下载,2-本工程生成
	 */
	@TableField(value = "generate_type")
	private Integer generateType;

	/**
	 * 数据库表名
	 */
	@TableField(value = "table_name")
	private String tableName;

	/**
	 * 包名称
	 */
	@TableField(value = "package_name")
	private String packageName;

	/**
	 * 模块名称
	 */
	@TableField(value = "modular")
	private String modular;

	/**
	 * 表描述
	 */
	@TableField(value = "remark")
	private String remark;

	/**
	 * 排序
	 */
	private Integer sort;

	@TableField(value = "create_time")
	private Date createTime;

	@TableField(value = "update_time")
	private Date updateTime;

}
